const path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");

module.exports = {
  mode:"development",
  entry:"./main.js",
  output:{
    path: path.resolve(__dirname, "dist"),
    filename:"bundle.js",
  },
  plugins:[
    new HtmlWebpackPlugin({
      title:"Output Management"
    })
  ],
  devServer: {
    static: "./dist",
  }
}